# All amounts stored as µg.

class DietaryMineralContent():
    Sodium = 0
    Potassium = 0
    Calcium = 0
    Magnesium = 0
    Phosphorus = 0
    Sulfur = 0
    Chlorine = 0

    Iron = 0
    Zinc = 0
    Copper = 0
    Manganese = 0
    Fluorine = 0
    Iodine = 0

def makeJsonable(obj):
    assert isinstance(obj, DietaryMineralContent)
    return {'Sodium' : obj.Sodium,
            'Potassium' : obj.Potassium,
            'Calcium' : obj.Calcium,
            'Magnesium' : obj.Magnesium,
            'Phosphorus' : obj.Phosphorus,
            'Sulfur' : obj.Sulfur,
            'Chlorine' : obj.Chlorine,
            'Iron' : obj.Iron,
            'Zinc' : obj.Zinc,
            'Copper' : obj.Copper,
            'Manganese' : obj.Manganese,
            'Fluorine' : obj.Fluorine,
            'Iodine' : obj.Iodine}
